package cn.mazexal.exambg.dataware;

import cn.mazexal.exambg.models.db.SysBroadcastDO;

import cn.mazexal.exambg.models.qry.BroadcastQry;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
*  系统广播, APP初始化的时候获取信息, 用于全局通知 Mapper
*
*/
@Mapper
public interface SysBroadcastMapper extends BaseMapper<SysBroadcastDO> {


    List<SysBroadcastDO> getSysBroadcastList(@Param("qry") BroadcastQry qry);

    int getSysBroadcastCount(@Param("qry") BroadcastQry qry);
}